home *** CD-ROM | disk | FTP | other *** search
- object SyntAnal31: TLibSyntAnalyzer
- Formats = <
- item
- DisplayName = 'Default'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = []
- FormatType = ftCustomFont
- end
- item
- DisplayName = 'Marked block'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clHighlightText
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = []
- BgColor = clHighlight
- FormatType = ftColor
- end
- item
- DisplayName = 'Hyperlink'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clFuchsia
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = [fsUnderline]
- end>
- TokenRules = <
- item
- DisplayName = 'http or ftp link'
- StyleName = 'Hyperlink'
- TokenType = 1
- Expression =
- '(?i) '#13#10'# Protocol'#13#10'(http|ftp):// '#13#10'# TCP addr or domain name'#13#10'[' +
- '\w\d\-]+(\.[\w\d\-]+)+'#13#10'# port number'#13#10'(:\d\d?\d?\d?\d?)?'#13#10'# uni' +
- 'x path'#13#10'(((/[%+\w\d\-\\\.]*)+)*)'#13#10'# request (GET) params'#13#10'(\?[^\' +
- 's=&"]+=[^\s=&"]+(&[^\s=&"]+=[^\s=&"]+)*)?'#13#10'# bookmark'#13#10'(\#[\w\d\' +
- '-%+]+)?'
- ColumnFrom = 0
- ColumnTo = 0
- end
- item
- DisplayName = 'www....'
- Enabled = False
- Expression =
- '(?i) '#13#10'# TCP addr or domain name'#13#10'www(\.[\w\d\-]+)+'#13#10'# port numb' +
- 'er'#13#10'(:\d\d?\d?\d?\d?)?'#13#10'# unix path'#13#10'(((/[%+\w\d\-\\\.]*)+)*)'#13#10'#' +
- ' request (GET) params'#13#10'(\?[^\s=&]+=[^\s=&]+(&[^\s=&]+=[^\s=&]+)*' +
- ')?'#13#10'# bookmark'#13#10'(\#[\w\d\-%+]+)?'
- ColumnFrom = 0
- ColumnTo = 0
- end
- item
- DisplayName = 'mail'
- StyleName = 'Hyperlink'
- TokenType = 1
- Expression =
- '(?i)'#13#10'# e-mail name'#13#10'[_a-z\d\-\.]+@'#13#10'# domane name'#13#10'[_a-z\d\-]+(' +
- '\.[_a-z\d\-]+)+'
- ColumnFrom = 0
- ColumnTo = 0
- end>
- BlockRules = <>
- CodeTemplates = <>
- SubAnalyzers = <>
- TokenTypeNames.Strings = (
- 'Unknown'
- 'Hyperlink')
- MarkedBlockStyle = 'Marked block'
- DefaultStyleName = 'Default'
- LexerName = 'Hyperlink extractor'
- Internal = True
- end
-